Ext.define('appmod.view.resources.MenuRegDashboard', {
    extend: 'Ext.grid.Panel',

    title: '菜单注册',

    initComponent: function() {
        var me = this;

        Ext.applyIf(me, {
            columns: [
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'string',
                    text: '模块名'
                },
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'string',
                    text: '菜单名称'
                },
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'string',
                    text: '菜单代码'
                },
                {
                    xtype: 'booleancolumn',
                    dataIndex: 'bool',
                    text: '是否已经登记'
                }
            ],
            viewConfig: {

            },
            dockedItems: [
                {
                    xtype: 'toolbar',
                    dock: 'top',
                    items: [
                        {
                            xtype: 'button',
                            text: '登记'
                        },
                        {
                            xtype: 'button',
                            text: '反登记'
                        }
                    ]
                }
            ],
            selModel: Ext.create('Ext.selection.CheckboxModel', {

            })
        });

        me.callParent(arguments);
    }
});